<style>
.name_card{
//overflow: hidden;
/*width:350px;*/
height:80px;
}
.name_card .name {
padding: 10px;
zoom: 1;
}
.clearFix {
display: block;
}

.name_card .name dt, .name_card .name dd, .name_card .info dt, .name_card .info dd {
float: left;
display: inline;
}
a, a:link, a:visited {
color: #0082CB;
}
dd {
display: block;
/* -webkit-margin-start: 40px;*/
}

.card_1{
float:right;
}
.card_2{
float:left;
}
.card_3{
float:left;
width:90%;
padding: 10px;
}
.card_name{
color:gray;
}
</style>
<?php
$form=$this->beginWidget('CActiveForm', array(
  'id'=>'cardshow',
  //'action'=>array('/user/register'), 
  'enableAjaxValidation'=>$ajax,
  'clientOptions'=>array('validateOnSubmit'=>true,
  ),
  'focus'=>'input:text[value=""]:first',
  'htmlOptions'=>array('class'=>'reg-login')
  
));
$labels = $user->attributeLabels(); 
?>
<div class="name_card">
<div>
    <dl class="name clearFix">
        <dt><a href="http://weibo.com/weitianxia" target="_blank">
          <img src="http://tp4.sinaimg.cn/1893801487/50/1292405227/1" class="picborder_r" imgtype="head" title="微天下" uid="1400046704"></a>
        </dt>
        <dd class="card">
         <div class="card_name"><?php if(isset($user->name))echo($user->name);else { echo "请设置你的昵称";}?></div>
         <div class="card_intro">简介：<?php if(isset($user->desc))echo($user->desc);else { echo "请写点什么。";}?></div>

     <div class="card_4">
            <span><a href="http://weibo.com/1893801487/follow" title="72" target="_blank">关注</a>72</span><i>|</i>
            <span><a href="http://weibo.com/1893801487/fans" title="673555" target="_blank">粉丝</a>67万</span><i>|</i>
            <span><a href="http://weibo.com/weitianxia" title="17689" target="_blank">发表</a>17689</span>
     </div>    
        </dd>
    </dl>
     <div class="card_3">
          <div class="card_2">已关注<span class="MIB_line_sp">|</span>
              <a class="MIB_linkbl" href="javascript:void(0)" onclick=""><em>取消</em></a>
          </div>
          <div class='card_1'>
            <span class="name_card_con3">
            <i class="com_mess">&nbsp;</i>
            <a href="javascript:void(0)" onclick="">私信</a></span>
            <i>|</i>
            <span class="name_card_con3"><i class="com_edit">&nbsp;</i>
            <a href="javascript:void(0)" onclick="">求关注</a></span>
            <i>|</i>
            <span class="name_card_con3">
            <a href="javascript:void(0)" onclick="">设置分组</a></span>
          </div>
    </div>
	</div>
</div>
<?php $this->endWidget(); ?>